# Contributor: Dominika Liberda <ja@sdomi.pl>
# Maintainer: Dominika Liberda <ja@sdomi.pl>
pkgname=lsdvd
pkgver=0.17
pkgrel=0
pkgdesc="Console application that displays the content of a DVD"
url="https://sourceforge.net/projects/lsdvd/"
arch="all"
license="GPL-2.0-only"
makedepends="libdvdread-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/lsdvd/lsdvd-$pkgver.tar.gz"
options="!check" # no tests

build() {
	./configure \
		--prefix=/usr \
		--build=$CBUILD \
		--host=$CHOST
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
d217ebe063c9d4c1584abe99cba5c5d09e1d600d26c58f90d542235f9a629433aa24f24fd8399c639e21391e7a5e8bdf54a9c85083aed63eae1090f4c23677e0  lsdvd-0.17.tar.gz
"
